<extend name="base" />
<block name="style2">
      <link rel="stylesheet" type="text/css" href="__PUBLIC__/Rbac/CSS/nodeList.css">
</block>
<block name="js2">
      <script type="text/javascript" src="__PUBLIC__/Rbac/JS/nodeList.js"></script>
</block>
<block name="content">
    <div class="content">
    <h2 class="sub-header">全部操作列表</h2>
        <table>
           <tr><td colspan="2"><a class="module" href='<{:U("Home/Rbac/addNode")}>'>添加应用</a><span></span></td></tr>
           <foreach name="node" item="app">
                <tr>
                	<td><{$app.name}></td>
                  <if condition="$app.level eq 2">
                     <td><a class="action" href='<{:U("Home/Rbac/addNode",array("level"=>3,"pid"=>$app["id"]))}>'><{$app.remark}></a><span></span></td>
                  <elseif condition="$app.level eq 1" />
                     <td><a class="control" href='<{:U("Home/Rbac/addNode",array("level"=>2,"pid"=>$app["id"]))}>'><{$app.remark}></a><span></span></td>
                  <else />
                     <td><{$app.remark}></td>
                  </if>
                </tr>

           </foreach>
        </table>
    </div>
</block>